package com.example.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品会员价格
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:42:24
 */
//@Data
@TableName("sms_member_price")
public class MemberPriceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * sku_id
	 */
	private Long skuId;
	/**
	 * 会员等级id
	 */
	private Long memberLevelId;
	/**
	 * 会员等级名
	 */
	private String memberLevelName;
	/**
	 * 会员对应价格
	 */
	private BigDecimal memberPrice;
	/**
	 * 可否叠加其他优惠[0-不可叠加优惠，1-可叠加]
	 */
	private Integer addOther;

	public MemberPriceEntity() {
	}

	public MemberPriceEntity(Long id, Long skuId, Long memberLevelId, String memberLevelName, BigDecimal memberPrice, Integer addOther) {
		this.id = id;
		this.skuId = skuId;
		this.memberLevelId = memberLevelId;
		this.memberLevelName = memberLevelName;
		this.memberPrice = memberPrice;
		this.addOther = addOther;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return skuId
	 */
	public Long getSkuId() {
		return skuId;
	}

	/**
	 * 设置
	 * @param skuId
	 */
	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取
	 * @return memberLevelId
	 */
	public Long getMemberLevelId() {
		return memberLevelId;
	}

	/**
	 * 设置
	 * @param memberLevelId
	 */
	public void setMemberLevelId(Long memberLevelId) {
		this.memberLevelId = memberLevelId;
	}

	/**
	 * 获取
	 * @return memberLevelName
	 */
	public String getMemberLevelName() {
		return memberLevelName;
	}

	/**
	 * 设置
	 * @param memberLevelName
	 */
	public void setMemberLevelName(String memberLevelName) {
		this.memberLevelName = memberLevelName;
	}

	/**
	 * 获取
	 * @return memberPrice
	 */
	public BigDecimal getMemberPrice() {
		return memberPrice;
	}

	/**
	 * 设置
	 * @param memberPrice
	 */
	public void setMemberPrice(BigDecimal memberPrice) {
		this.memberPrice = memberPrice;
	}

	/**
	 * 获取
	 * @return addOther
	 */
	public Integer getAddOther() {
		return addOther;
	}

	/**
	 * 设置
	 * @param addOther
	 */
	public void setAddOther(Integer addOther) {
		this.addOther = addOther;
	}

	public String toString() {
		return "MemberPriceEntity{id = " + id + ", skuId = " + skuId + ", memberLevelId = " + memberLevelId + ", memberLevelName = " + memberLevelName + ", memberPrice = " + memberPrice + ", addOther = " + addOther + "}";
	}
}
